<template>
<p>{{ msg }}</p>
</template>
<script>
export default{
    data(){
        return {
            msg: 'Welcome to Vue'
        }
    },
    beforeCreate(){
        console.log('组件创建之前')
    },
    created(){
        console.log('组件已经创建')
    }
}
</script>